package com.ruoyi.dept.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 科室业务对象 dept_bs_department
 *
 * @author zyb
 * @date 2024-04-22
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class BsDepartmentBo extends BaseEntity {

    /**
     * 科室id
     */
    @NotNull(message = "科室id不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 所属试验室id
     */
    @NotNull(message = "所属试验室id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long deptId;

    /**
     * 科室名称
     */
    @NotBlank(message = "科室名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String name;


}
